package io.eyer.nio.core.codec;

import java.io.IOException;

/**
 * Created by 青木 on 2015/8/18.
 */
public interface Codec {

    byte[] encode(Object obj);

    Object decode(byte[] bytes);
}
